<?php
	//require_once('../../auth/auth.php');
	require_once('../auth/session.php');
	
	if($_SESSION['SESS_USER_TYPE']==0){ // ADMINISTRATOR
		$home_title="Administrator";
	} elseif($_SESSION['SESS_USER_TYPE']==1) { // VOLUNTEER
		$home_title="Volunteer";
	} else { // ADOPTOR
		$home_title="Adopter";
	}
	
?>


<?php if($home_title=="Administrator") { ?>
	<!-- Admin left menu starts -->
			<div class="span2 main-menu-span">
				<div class="well nav-collapse sidebar-nav">
					<ul class="nav nav-tabs nav-stacked main-menu">
						<li class="nav-header hidden-tablet">Main</li>
						<li><a class="ajax-link" href="administrator.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
						<li class="nav-header hidden-tablet"> View</li>						
						<li><a class="ajax-link" href="staff.php"><i class="icon-eye-open"></i><span class="hidden-tablet"> Staff</span></a></li>
						<li><a class="ajax-link" href="families.php"><i class="icon-eye-open"></i><span class="hidden-tablet"> Families</span></a></li>
						<li><a class="ajax-link" href="adopters.php"><i class="icon-eye-open"></i><span class="hidden-tablet"> Adopters</span></a></li>
						<li class="nav-header hidden-tablet"> Match</li>												
						<li><a class="ajax-link" href="matching.php"><i class="icon-list-alt"></i><span class="hidden-tablet"> Matching</span></a></li>																		
					</ul>
				</div><!--/.well -->
			</div><!--/span-->
	<!-- Admin left menu ends -->	
<?php } ?>

<?php if($home_title=="Volunteer") { ?>
	<!-- Volunteer left menu starts -->
			<div class="span2 main-menu-span">
				<div class="well nav-collapse sidebar-nav">
					<ul class="nav nav-tabs nav-stacked main-menu">
						<li class="nav-header hidden-tablet">Main</li>
						<li><a class="ajax-link" href="volunteer.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
						<li><a class="ajax-link" href="family.php"><i class="icon-edit"></i><span class="hidden-tablet"> New Family</span></a></li>
						<li><a class="ajax-link" href="families.php"><i class="icon-eye-open"></i><span class="hidden-tablet"> All Families</span></a></li>

						<li class="nav-header hidden-tablet">Sample Section</li>
					</ul>
				</div><!--/.well -->
			</div><!--/span-->
	<!-- Volunteer left menu ends -->	
<?php } ?>

<?php if($home_title=="Adopter") { ?>
	<!-- Adoptive Family left menu starts -->
			<div class="span2 main-menu-span">
				<div class="well nav-collapse sidebar-nav">
					<ul class="nav nav-tabs nav-stacked main-menu">
						<li class="nav-header hidden-tablet">Main</li>
						<li><a class="ajax-link" href="adopter.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
						<li><a class="ajax-link" href="preference.php"><i class="icon-edit"></i><span class="hidden-tablet"> Adoption Preference</span></a></li>
						<li><a class="ajax-link" href="gift-status.php"><i class="icon-edit"></i><span class="hidden-tablet"> Delivery Status</span></a></li>

						<li class="nav-header hidden-tablet">Sample Section</li>
					</ul>
				</div><!--/.well -->
			</div><!--/span-->
	<!-- Adoptive Family left menu ends -->	
<?php } ?>